package com.easy.sftp.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * 终端自动装配
 *
 * @author jetlag
 * @date 2022/09/15
 */
@Configuration
@ConfigurationProperties(prefix = "easy.terminal")
@EnableConfigurationProperties
public class TerminalAutoConfig {

    private SftpConfig sftp = new SftpConfig();

    private ShellConfig shell = new ShellConfig();

    public SftpConfig getSftp() {
        return sftp;
    }

    public void setSftp(SftpConfig sftp) {
        this.sftp = sftp;
    }

    public ShellConfig getShell() {
        return shell;
    }

    public void setShell(ShellConfig shell) {
        this.shell = shell;
    }
}
